package com.yswy.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yswy.domain.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("转账记录表")
@TableName(value = "transfer_order")
public class TransferOrder extends BasePojo<TransferOrder> {
    @ApiModelProperty("提现位置  0 首页小额提现  1 金币提现   2 红包提现")
    private Integer transferPosition;
    @ApiModelProperty("是否审核  0 不需要  1需要")
    private Integer isProcess;
    @ApiModelProperty("来源ID")
    private Long sourceId;
    @ApiModelProperty("用户 Id")
    private Long userId;
    @ApiModelProperty("订单Id")
    private String orderId;
    @ApiModelProperty("转账金额（单位分）")
    private Integer refundAmount;
    @ApiModelProperty("转账原因")
    private String refundDesc;
    @ApiModelProperty("三方Body")
    private String refundBody;
    @ApiModelProperty("转账状态  0:失败 1:成功 2:转账中 3 审核中 ")
    private Integer  refundStatus;

    @ApiModelProperty("转账时间")
    private Date refundTime;
    @ApiModelProperty("收款用户名字")
    private String zfbName;
    @ApiModelProperty("收款支付宝账号")
    private String zfbAccount;
    @ApiModelProperty("转账支付宝id")
    private Long zfbId;
    @ApiModelProperty("转账微信ID")
    private Long wxId;
    @ApiModelProperty("转账方式  0 支付宝   1 微信")
    private Integer paymentType;
}
